package com.timesheet.server.common.session;

import java.util.ResourceBundle;

public class PropertyFileReader {
	
	ResourceBundle resourceBundle = null;
	
	public PropertyFileReader(){
		resourceBundle = ResourceBundle.getBundle("mybundle");
	}
	
   public String getUser() {
		return getValue("user");
	}

	public String getValue(String key) {
		if (key == null) {
			return null;
		}
		return resourceBundle.getString(key);
	}

	

}
